package org.neuedu.chapter05_0618;

public class Practice01 {
    public static void main(String[] args) {
        test(10);
    }

    public static void test(int n) {
        int jc = 1;
        for (int i = 1; i <= n ; i++) {
            jc = jc * i;
        }
        System.out.println(jc);
    }
}
